package com.zjb.chuangxiang.bugly.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.zjb.chuangxiang.bugly.R;
import com.zjb.chuangxiang.bugly.util.VersionUtils;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        TextView textView = (TextView) findViewById(R.id.textView);
        textView.setText(VersionUtils.getCurrVersionName(this)+VersionUtils.getCurrVersion(this));
    }
}
